package chapter10_Advanced._throw;

/**
 * ClassName: BelowZeroException
 * Package: chapter10_Advanced
 * Description:
 *
 * 自定义异常
 * 
 * @Author SherryAn
 * @Create 2025/7/29 11:11
 */
//    1.选择一个父类继承
public class BelowZeroException extends RuntimeException{
//    2.写几个重载的构造器
    public BelowZeroException(){

    }

    public BelowZeroException(String name){
        super(name);
    }
    public BelowZeroException(String message,Throwable cause){
        super(message, cause);
    }

}
